<?php

require_once 'Cron.php';

$config = new Zend_Config_Xml(realpath(dirname(__FILE__)) . '/../configs/config.xml', null);
Rcp_Config::getInstance($config);

foreach (Rcp_Config::getInstance($config)->ldap->server as $server) {
	if (!(bool)$server->enable)
		continue;
	$import = new Rcp_AdImport_EmployeeImport($server);
	$import->start();
}